<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html lang="en">

<head>

    <meta charset="utf-8">

    <title>新增订单</title>

    <link rel="stylesheet" type="text/css" href="../../../static/css/register.css">


</head>

<body>

<div class="rg_layout">
    <div class="rg_left">
        <p class="p_reg">新增订单</p>
        <p class="p_en">Add Order</p>
    </div>

    <div class="rg_center">
        <div class="re_form">

            <form action="${pageContext.request.contextPath}/order/addOrder" method="get">
                <table>
                    <tr>
                        <td class="td_left"><label for="orderId">订单编号</label></td>
                        <td class="td_right"><input type="text" name="orderId" id="orderId" value="${id}" disabled ></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="clientName">发件人姓名</label></td>
                        <td class="td_right"><input type="text" name="clientName" id="clientName" placeholder="请输入发件人姓名" required></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="clientAddress">发件人地址</label></td>
                        <td class="td_right"><input type="text" name="clientAddress" id="clientAddress" placeholder="请输入发件人地址" required></td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="clientTel">发件人电话</label></td>
                        <td class="td_right"><input type="text" name="clientTel" id="clientTel" placeholder="请输入发件人电话" required></td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="consigneeName">收货人姓名</label></td>
                        <td class="td_right"><input type="text" name="consigneeName" id="consigneeName" placeholder="请输入收货人姓名" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="consigneeTel">收货人电话</label></td>
                        <td class="td_right"><input type="text" name="consigneeTel" id="consigneeTel" placeholder="请输入收货人电话" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="destination">收货人地址</label></td>
                        <td class="td_right"><input type="text" name="destination" id="destination" placeholder="请输入收货人地址" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="goodsName">货物名称</label></td>
                        <td class="td_right"><input type="text" name="goodsName" id="goodsName" placeholder="请输入货物名称" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="goodNums">货物数量</label></td>
                        <td class="td_right"><input type="text" name="goodNums" id="goodNums" placeholder="请输入货物数量" required></td>

                    </tr>
                    <tr>
                        <td class="td_left">运输方式</td>
                        <td class="td_right">
                            <input type="radio" name="trideType" value="海运">海运
                            <input type="radio" name="trideType" value="空运">空运
                            <input type="radio" name="trideType" value="陆运">陆运
                        </td>

                    </tr>
                    <%--                    <tr>--%>
                    <%--                        <td class="td_left"><label for="orderProduceTime">订单生成日期</label></td>--%>
                    <%--                        <td class="td_right"><input type="date" name="orderProduceTime" id="orderProduceTime"></td>--%>
                    <%--                    </tr>--%>

                    <%--                    <tr>--%>
                    <%--                        <td class="td_left"><label for="preStartTime">预计发送时间</label></td>--%>
                    <%--                        <td class="td_right"><input type="date" name="preStartTime" id="preStartTime"></td>--%>

                    <%--                    </tr>--%>
                    <%--                    <tr>--%>
                    <%--                        <td class="td_left"><label for="preArriveTime">预计到达时间</label></td>--%>
                    <%--                        <td class="td_right"><input type="date" name="preArriveTime" id="preArriveTime"></td>--%>

                    <%--                    </tr>--%>


                    <tr>
                        <td class="td_left"><label for="remark">备注：</label></td>
                        <td class="td_right"><input type="text" name="remark" id="remark" placeholder="请输入备注" required></td>

                    </tr>


                    <tr>

                        <td colspan="2" align="center"><input type="submit" id="btn_sub" value="添加"></td>

                    </tr>


                </table>

            </form>

        </div>

    </div>
</div>


</body>

</html>

